import { get } from '@/utils/request'

const prefix = 'preview'

export default {
  /**
   * 商品预览
   */
  goods: id => {
    return get(`${prefix}/goods/view`, {
      id: id
    })
  }
}
